package com.rightsidetech.trade.dtos.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class TdCommodityBuyCardDetailResp implements Serializable {
    @ApiModelProperty(value = "商品id",required = true)
    private Long commodityId;

    @ApiModelProperty(value = "商品名称",required = true)
    private String commodityName;

    @ApiModelProperty(value = "购买方式,  0-直接买新, 1-以旧换新",required = true)
    private Byte buyType;

    @ApiModelProperty(value = "商品条码",required = false)
    private String commodityBarCode;

    @ApiModelProperty(value = "商品规格",required = false)
    private String commoditySpecs;

    @ApiModelProperty(value = "原价",required = true)
    private BigDecimal underlinedPrice;

    @ApiModelProperty(value = "单件价格",required = true)
    private BigDecimal commodityPrice;

    @ApiModelProperty(value = "商品数量",required = true)
    private Integer commodityNum;

    @ApiModelProperty(value = "商品标签, 0-商品, 1-赠品, 2-超值换购",required = true)
    private Byte commodityTag;

    @ApiModelProperty(value = "商品图片",required = false)
    private String picture;

    @ApiModelProperty("是否上架,0-未上架, 1-上架")
    private Byte isUpShelf;

    @ApiModelProperty(value = "随机字符串,区分具体商品",required = true)
    private String uuid;
}
